<?php
$nom = "";
$prenom = "";
$email = "";
$tel = "";
$adresse = "";
$dat = "";
foreach ($client as $aRow):
    $nom = $aRow['nom'];
    $prenom = $aRow['prenom'];
    $email = $aRow['email'];
    $tel = $aRow['tel'];
    $adresse = $aRow['adresse'];
    $dat = $aRow['dat'];
endforeach;
?>
<div id="wrapper-content" align="left">  
    <div id="titre_list_produit"><?php echo $langue['profile']; ?></div>
      <?php echo form_open(base_url() . 'index.php/client/profil/enregistrer') ?>
    <table id="profil_detail">
        <tr><td width="150px" ><?php echo $langue['nom']; ?></td><td> <input type="text" name="nom"  size="50px"  class="login"  value="<?php echo $nom; ?>"/><?php echo form_error('nom'); ?></td></tr>
        <tr><td><?php echo $langue['prenom']; ?></td><td><input type="text" name="prenom"  size="50px"  class="login" value="<?php echo $prenom; ?>" /><?php echo form_error('prenom'); ?></td></tr>
        <tr><td><?php echo $langue['email']; ?></td><td><?php echo $email; ?></td></tr>
        <tr><td><?php echo $langue['telephone']; ?></td><td><input type="text" name="telephone"  size="50px"  class="login"  value="<?php echo $tel; ?>"/><?php echo form_error('telephone'); ?></td></tr>
        <tr><td><?php echo $langue['dat_creation']; ?></td><td><?php echo convertdate($dat); ?></td></tr>
        <tr><td><?php echo $langue['adresse']; ?></td><td><textarea  name="adresse"><?php echo $adresse; ?></textarea><?php echo form_error('adresse'); ?></td></tr>
     <tr><td></td><td>  <input type="submit" value="Envoyer" class="enter" /></td></tr>
    </table>
     <?php echo form_close() ?>
</div>

<!--end wrapper-content-->